Dew Math for .NET
|
The L2-norm.
Calculates the L2 norm : ||V-Vec||, where V is calling Matrix. If the NormL2 is called without any parameters, the NormL2 calculates the norm of calling Matrix. The L2 norm of ||V-Vec|| is defined by the formula:
If RelativeError is true then the computed norm is divided by the norm of V, and the function returns the "relative error":
Copyright (c) 1999-2024 by Dew Research. All rights reserved.
|
What do you think about this topic? Send feedback!
|